import Vue from 'vue'
import Router from 'vue-router'
import IFrame from '../pages/IFrame'
import 'iview/dist/styles/iview.css'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/:type/:id/:autoplay',
      name: 'IFrame',
      component: IFrame
    }
  ]
})
